<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>回执</title>
<!--公共样式开始-->
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/reset.css" />
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/common.css" />
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Plugins/FontAwesome/css/font-awesome.min.css" />
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Plugins/FontAwesome/css/font-awesome-ie7.min.css" />
<![endif]-->
<!--公共样式结束-->
<!--页面样式开始-->
<link rel="stylesheet" type="text/css" href="{$NOW_THEME_URL}/Assets/Css/page_complete.css" />
<!--页面样式结束-->
<script type="text/javascript" src="{$NOW_THEME_URL}/Assets/Js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="{$NOW_THEME_URL}/Assets/Js/jquery.SuperSlide.2.1.1.js"></script>
</head>

<body>
	<div class="zhezhao"></div>
<div class="zz">
	<!--top start-->
	<include file="Public:header" lang="true" />
	<!--top end-->
	<!--content start-->
	<div class="content">
		<div class="buzou clearfix">
			<dl>
				<dt>1.Select a location</dt>
				<dd><a href="{:U('Index/address')}"></a></dd>
			</dl>
			<dl>
				<dt>2.Choose a restaurant</dt>
				<dd><a href="{:U('Restaurant/index')}"></a></dd>
			</dl>
			<dl>
				<dt>3.Choose dishes</dt>
				<dd><a href="{:U('Dishes/index')}"></a></dd>
			</dl>
			<dl>
				<dt>4.Confirm Order</dt>
				<dd><a href="{:U('Order/confirm')}"></a></dd>
			</dl>
			<dl class="hover">
				<dt>5.Complete order</dt>
				<dd><a href="{:U('Order/complete')}"></a></dd>
			</dl>
		</div>
		<!--complete start-->
		<div class="complete">
			<h1 class="color_main">Delivery Information</h1>
			<table class="cptable2" width="100%" cellpadding="0" cellspacing="0" border="0">
				<tr>
					<td width="20"></td>
					<td><h1>From:</h1></td>
					<td class="color_main"><h2>Heng Shan Hui</h2></td>
					<td><h1>To:</h1></td>
					<td class="color_main">(Crystal Orange Hotel Beijing Jianguomen, fewgjal;bkdf)</td>
				</tr>
				<tr>
					<td width="20"></td>
					<td colspan="2">Email:<em>731474583@qq.com</em></td>
					<td colspan="2">Phone:<em>84256858</em></td>
				</tr>
				<tr>
					<td width="20"></td>
					<td colspan="2">Ordering time:<em>10:50 Apr.02</em></td>
					<td colspan="2">Estimated time of delivery:<em>45 minutes + delay 0 minutes</em></td>
				</tr>
			</table>
			<h1 class="color_main">Receipt</h1>
			<table class="cptable1" width="100%" cellpadding="0" cellspacing="0" border="0">
				<tr>
					<th class="color_main" colspan="3">Your order:#94949409409340</th>
				</tr>
				<tr>
					<td>1</td>
					<td width="70%">001&nbsp;&nbsp;singaporean fried rice glass noodles </td>
					<td>￥78</td>
				</tr>
				<tr>
					<td>1</td>
					<td width="70%">002&nbsp;&nbsp;crispy roasted pork belly </td>
					<td>￥48</td>
				</tr>
				<tr class="dftr">
					<td></td>
					<td class="df">Delivery Fee</td>
					<td>￥15</td>
				</tr>
				<tr>
					<td></td>
					<td class="total">Total</td>
					<td class="tprice">￥141</td>
				</tr>
			</table>
			<div class="return clearfix"><a href="restaurant.html">Continue with the current address of a meal</a></div>
		</div>
		<!--complete end-->
	</div>
	<!--content end-->
	
	<!--footer start-->
	<include file="Public:footer" lang="true" />
	<!--footer end-->
	<!--online start-->
		
	<!--online end-->
</div>
<script type="text/javascript">
	//返回顶部
	$(window).on('scroll',function(){
		var scrollTop = $(document).scrollTop();
	});
	
	$(function(){
		//悬浮框显示隐藏
		$('.online').on('hover',function(){
			$('.online ul').toggle();
			//$('.rlico').toggleClass('rlico2');
		});
		
		
		
		$("#href_1").on('click',function(){
			var href = addic();
			$(this).attr(href);
			$(this).attr({ href: encodeURI(href) });
		});	
		
		var value= location.href.split("=")[1];
		$('.color_main em').html(value);
	
	});
	
	function abc(){
		var value = $('.addressinput').val();
		$('.addressdl dl dd').html(value)
		if(value){
			$('.addressdl').show();
			$('.addressspan').html(value)
			$('.addressdl dl dd').click(function(){
				$('.addressdl').hide(function(){
					$('.address_choose').show();
				});
			});
		}else{
			$('.addressdl').hide();
			$('.address_choose').hide();
		}
	}
	
	function addic(){
		var addval = $('.addressinput').val();
		return "restaurant.html?aid="+addval;
	}

</script>
</body>
</html>
